home *** CD-ROM | disk | FTP | other *** search
/ Clickx 63 / Clickx 63.iso / software / multimedia / mirov204 / Miro_Installer.exe / xulrunner / chrome / toolkit.jar / content / global / config.xul < prev    next >
Encoding:
Extensible Markup Language  |  2008-05-05  |  4.1 KB  |  90 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/config.css" type="text/css"?>
  4.  
  5. <!DOCTYPE window SYSTEM "chrome://global/locale/config.dtd">
  6.  
  7. <window id="config"
  8.         xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 
  9.         title="&window.title;"
  10.         windowtype="Preferences:ConfigManager"
  11.         width="750"
  12.         height="500"
  13.         onunload="onConfigUnload();"
  14.         onload="onConfigLoad();">
  15.  
  16. <script src="chrome://global/content/config.js"/>
  17.  
  18. <stringbundle id="configBundle" src="chrome://global/locale/config.properties"/>
  19.  
  20. <popup id="configContext" onpopupshowing="if (event.target == this) updateContextMenu();">
  21.   <menuitem id="copyPref" label="©Pref.label;" accesskey="©Pref.accesskey;" oncommand="copyPref();"/>
  22.   <menuitem id="copyName" label="©Name.label;" accesskey="©Name.accesskey;" oncommand="copyName();"/>
  23.   <menuitem id="copyValue" label="©Value.label;" accesskey="©Value.accesskey;" oncommand="copyValue();"/>
  24.   <menu label="&new.label;" accesskey="&new.accesskey;">
  25.     <menupopup>
  26.       <menuitem label="&string.label;" accesskey="&string.accesskey;" oncommand="NewPref(nsIPrefBranch.PREF_STRING);"/>
  27.       <menuitem label="&integer.label;" accesskey="&integer.accesskey;" oncommand="NewPref(nsIPrefBranch.PREF_INT);"/>
  28.       <menuitem label="&boolean.label;" accesskey="&boolean.accesskey;" oncommand="NewPref(nsIPrefBranch.PREF_BOOL);"/>
  29.     </menupopup>
  30.   </menu>
  31.   <menuitem id="toggleSelected" label="&toggle.label;" accesskey="&toggle.accesskey;" oncommand="ModifySelected();"/>
  32.   <menuitem id="modifySelected" label="&modify.label;" accesskey="&modify.accesskey;" oncommand="ModifySelected();"/>
  33.   <menuitem id="resetSelected" label="&reset.label;" accesskey="&reset.accesskey;" oncommand="ResetSelected();"/>
  34. </popup>
  35.  
  36. <keyset>
  37.   <key keycode="VK_ENTER" oncommand="ModifySelected();"/>
  38.   <key keycode="VK_RETURN" oncommand="ModifySelected();"/>
  39. </keyset>
  40. <deck id="configDeck" flex="1">
  41.   <vbox id="warningScreen" flex="1" align="center">
  42.     <spacer flex="1"/>
  43.     <hbox id="warningBox" align="top">
  44.       <image id="exclam"/>
  45.       <vbox id="warningInnerBox" flex="1">
  46.         <label id="warningTitle">&aboutWarningTitle.label;</label>
  47.         <label id="warningText">&aboutWarningText.label;</label>
  48.         <checkbox id="showWarningNextTime" label="&aboutWarningCheckbox.label;" checked="true"/>
  49.         <hbox pack="center">
  50.           <button id="warningButton" oncommand="ShowPrefs();" label="&aboutWarningButton.label;"/>
  51.         </hbox>
  52.       </vbox>
  53.     </hbox>
  54.     <spacer flex="2"/>
  55.   </vbox>
  56.   <vbox flex="1">
  57.     <hbox id="filterRow" align="center">
  58.       <label value="&filterPrefs.label;" accesskey="&filterPrefs.accesskey;" control="textbox"/>
  59.       <textbox id="textbox" flex="1" type="timed" timeout="500" oncommand="FilterPrefs();"/>
  60.       <button id="button" label="&showAll.label;" accesskey="&showAll.accesskey;" oncommand="ClearFilter();" disabled="true"/>
  61.     </hbox>
  62.   
  63.     <tree id="configTree" flex="1" class="plain focusring" seltype="single"
  64.           onselect="updateCommands('select');"
  65.           enableColumnDrag="true" context="configContext">
  66.       <treecols>
  67.         <treecol id="prefCol" label="&prefColumn.label;" flex="7"
  68.             class="sortDirectionIndicator"
  69.             ignoreincolumnpicker="true"
  70.             persist="hidden width ordinal sortDirection"/>
  71.         <splitter class="tree-splitter" />
  72.         <treecol id="lockCol" label="&lockColumn.label;" flex="1"
  73.             class="sortDirectionIndicator"
  74.             persist="hidden width ordinal sortDirection"/>
  75.         <splitter class="tree-splitter" />
  76.         <treecol id="typeCol" label="&typeColumn.label;" flex="1"
  77.             class="sortDirectionIndicator"
  78.             persist="hidden width ordinal sortDirection"/>
  79.         <splitter class="tree-splitter" />
  80.         <treecol id="valueCol" label="&valueColumn.label;" flex="10"
  81.             class="sortDirectionIndicator"
  82.             persist="hidden width ordinal sortDirection"/>
  83.       </treecols>
  84.   
  85.       <treechildren id="configTreeBody" ondblclick="if (event.button == 0) ModifySelected();"/>
  86.     </tree>
  87.   </vbox>
  88. </deck>
  89. </window>
  90.